<?php
/*
 * @Author: your name
 * @Date: 2021-10-03 13:06:47
 * @LastEditTime: 2021-10-03 13:32:55
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \contest\utils\JsonUtil.php
 */

 namespace utils;

function JsonResponse($obj){
    header("content-type: application/json; charset=utf-8;");
    echo json_encode($obj);
    exit();
}


